package com.example.manage_dzensaas.mapper.db1;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.manage_dzensaas.pojo.entity.db1.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

@Mapper
public interface ProductInfoMapper extends BaseMapper<ProductInfo> {
    /**
     * 批量插入或更新
     *
     * @param productList
     * @return int
     */
    int batchInsertOrUpdate(@Param("productList") ArrayList<ProductInfo> productList);
}
